<div *ngIf="messageService.messages.length">

  <h2>系统消息：</h2>
  <button class="clear" (click)="messageService.clear()">清除消息</button>
  <div *ngFor='let message of messageService.messages'>
    {{message}}
  </div>

</div>
